CRPESectionOptions

This structure contains specifications for formatting selected report sections and areas.

Data Members
Remarks

reserveMinimumPageFooter can be used to remove undesirable white space when there are two or more sections in the page footer area and only one section, based on conditional settings, will be visible when the report is viewed in the preview window. For example, a report page footer area might contain two sections, one conditionally set to display at the bottom of odd pages and the other at the bottom of even pages. When this member is set to TRUE, sufficient space will be reserved to display only one of the sections included in the area (set to the height of the tallest section). Note that when reserveMinimumPageFooter = TRUE and there is more than one section visible in the page footer area, the visible sections will be displayed only to the extent allowed by the reserved minimum space (the height of the tallest section) with the remainder truncated.

Constructor CRPESectionOptions::CRPESectionOptions

This constructs a CRPESectionOptions structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Syntax (Default)

CRPESectionOptions ();

Constructor Syntax
CRPESectionOptions (
        short visible,
        short newPageBefore,
        short newPageAfter,
        short keepTogether,
        short suppressBlankLines,
        short resetPageNAfter,
        short printAtBottomOfPage,
        COLORREF backgroundColour,
        short underlaySection,
        short showArea,
        short freeFormPlacement,
        short reserveMinimumPageFooter );

CRPESessionInfo

This structure is used to get and set the session information (user ID and password) for password-protected Microsoft Access databases. It is used with CRPEJob::GetNthTableSessionInfo, and CRPEJob::SetNthTableSessionInfo, member functions.

Data Members

Member Type Default Description

m_userID

_TCHAR

'\0'

Specifies the user ID (of length PEP_SESS_USERID_LEN = 128) needed for logging on to the MS Access system (NULL-terminated).

m_password

_TCHAR

'\0'

Specifies the password (of length PEP_SESS_PASSWORD_LEN = 128) needed for logging on to the MS Access system (NULL-terminated).

m_session
Handle

DWORD

0

The handle to the current MS Access session. When getting information from a report, sessionHandle is undefined. When setting information for a report, if sessionHandle is = 0 then the UserID and Password settings are used; otherwise the SessionHandle is used.

Constructor CRPESessionInfo::CRPESessionInfo

This constructs a CRPESessionInfo structure object. Call the constructor with no parameters to allow the Class Library to initialize all member variables with default values. Pass parameters to the constructor to assign specific values to each member variable.

Constructor Syntax (Default)

CRPESessionInfo ();

Constructor Syntax
CRPESessionInfo (
        const _TCHAR *userID,
        const _TCHAR *password,
        DWORD sessionHandle );
CRPEShowGroupEventInfo

This structure provides show group event information when an event callback is called with event ID equal to PEP_SHOW_GROUP_EVENT.

Data Members

Member Type Default Description

m_groupLevel

WORD

0

Number of items in groupList.

m_windowHandle

long

0

Frame window handle where the event happens.

m_groupList

_TCHAR

NULL

Pointer to an array of group names describing the group path that the group area is going to navigate to. This pointer is freed after the callback function.

Constructor CRPEShowGroupEventInfo::CRPEShowGroupEventInfo

This constructs a CRPEShowGroupEventInfo structure object. It assigns default values to the members of the structure.



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com